package com.zhaorui.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhaorui.entity.ActivityUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhaorui.form.ModifyPassForm;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

/**
 * @Entity com.zhaorui.entity.ActivityUser
 */
@Repository
public interface ActivityUserMapper extends BaseMapper<ActivityUser> {

    //综合查询
    List<HashMap> queryUsers(ActivityUser activityUser);

    //查询所有
    List<HashMap> queryUsersAll();

    //根据id查询
    ActivityUser queryUsersId(Integer id);

    //修改密码
    void modifyIdPass(ModifyPassForm modifyPassForm);

    //删除
    void updateBydel(Integer id);
}




